#include <iostream>
using namespace std;

class A {
public:
	~A (void) {
		cout << "A中的析构函数" << endl;
	}
};

int main (void)
{
	if (1) {
		A a;
		cout << "test1" << endl;
	}
	cout << "test2" << endl;
	return 0;
}


